#!/usr/bin/gnuplot
reset
set terminal png

set xdata time
set timefmt "%Y-%m-%d %H:%M:%S"
set format x "%H:%M"
set xlabel "time"

set ylabel "temperature"
set yrange [-10:45]

set title "Home Temperature Statistics"
set grid

set xtic rotate by -45 scale 0
set style data linespoints
set datafile separator "|"

plot "/tmp/temperature.dat" using 1:2 title ""
